package com.yaorange.nongjt.service;

import java.util.List;
import com.yaorange.nongjt.domain.NjtAgriculturalProductCertification;

/**
 * 合格证打印列Service接口
 * 
 * @author hzliu
 * @date 2025-09-27
 */
public interface INjtAgriculturalProductCertificationService 
{
    /**
     * 查询合格证打印列
     * 
     * @param id 合格证打印列主键
     * @return 合格证打印列
     */
    public NjtAgriculturalProductCertification selectNjtAgriculturalProductCertificationById(Long id);

    /**
     * 查询合格证打印列列表
     * 
     * @param njtAgriculturalProductCertification 合格证打印列
     * @return 合格证打印列集合
     */
    public List<NjtAgriculturalProductCertification> selectNjtAgriculturalProductCertificationList(NjtAgriculturalProductCertification njtAgriculturalProductCertification);

    /**
     * 新增合格证打印列
     * 
     * @param njtAgriculturalProductCertification 合格证打印列
     * @return 结果
     */
    public int insertNjtAgriculturalProductCertification(NjtAgriculturalProductCertification njtAgriculturalProductCertification);

    /**
     * 修改合格证打印列
     * 
     * @param njtAgriculturalProductCertification 合格证打印列
     * @return 结果
     */
    public int updateNjtAgriculturalProductCertification(NjtAgriculturalProductCertification njtAgriculturalProductCertification);

    /**
     * 批量删除合格证打印列
     * 
     * @param ids 需要删除的合格证打印列主键集合
     * @return 结果
     */
    public int deleteNjtAgriculturalProductCertificationByIds(Long[] ids);

    /**
     * 删除合格证打印列信息
     * 
     * @param id 合格证打印列主键
     * @return 结果
     */
    public int deleteNjtAgriculturalProductCertificationById(Long id);

    /**
     * 按ID分组查询quantity总和
     * 
     * @return 分组统计结果
     */
    public List<NjtAgriculturalProductCertification> getQuantityGroupById();
}
